package com.ibm.sample.library.service;

import java.util.List;

import com.ibm.sample.library.model.Book;
import com.ibm.sample.library.model.Category;

public interface IService
{
    Category getCategoryByName(String name);

    void saveCategory(Category category);

    void updateCategory(Category category);

    void deleteCategoryById(long id);

    List<Category> findAllCategory();

    List<Book> findAllBook();
}
